/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.integraldetail.entity;

import com.jeeplus.modules.member.entity.Member;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 积分明细Entity
 * @author w
 * @version 2021-04-06
 */
public class IntegralDetail extends DataEntity<IntegralDetail> {
	
	private static final long serialVersionUID = 1L;
	private Member member;		// 用户
	private Double integral;		// 积分
	private String orderNo;		// 订单号
	private String integralType;		// 类型
	private String exportTime;//导出时间
	
	public IntegralDetail() {
		super();
	}

	public IntegralDetail(String id){
		super(id);
	}

	@ExcelField(title="用户", fieldType=Member.class, value="member.loginName", align=2, sort=1)
	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}
	
	@ExcelField(title="积分", align=2, sort=2)
	public Double getIntegral() {
		return integral;
	}

	public void setIntegral(Double integral) {
		this.integral = integral;
	}
	
	@ExcelField(title="订单号", align=2, sort=3)
	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	
	@ExcelField(title="类型", dictType="integral_type", align=2, sort=4)
	public String getIntegralType() {
		return integralType;
	}

	public void setIntegralType(String integralType) {
		this.integralType = integralType;
	}

	@ExcelField(title="时间", align=2, sort=4)
	public String getExportTime() {
		return exportTime;
	}

	public void setExportTime(String exportTime) {
		this.exportTime = exportTime;
	}
}